package org.bugjail.data;


public class TestRound {
	private int id;
	private String name;
	private TestCycle testCycle;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public TestCycle getTestCycle() {
		return testCycle;
	}

	public void setTestCycle(TestCycle testCycle) {
		this.testCycle = testCycle;
	}
	
	@Override
	public boolean equals(Object obj) {
		if (obj instanceof TestRound) {
			TestRound tr = (TestRound)obj;
			return this.getId()==tr.getId();
		} else {
			return false;
		}
	}
	
}
